%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%  定义颜色命令
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xcolor}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\green}[1]{\textcolor{green}{#1}}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\cyan}[1]{\textcolor{cyan}{#1}}
\newcommand{\magenta}[1]{\textcolor{magenta}{#1}}
\newcommand{\yellow}[1]{\textcolor{yellow}{#1}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 高级自定义 “定义、定理、引理、命题、例”环境
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{environ}%
\newtheorem{definition}{\heiti \hspace*{2em}定义}[section]
\newtheorem{theorem}{\heiti \hspace*{2em}定理}[section]
\newtheorem{lemma}{\heiti \hspace*{2em}引理}[section]
\newtheorem{proposition}{\heiti \hspace*{2em}命题}[section]
\newtheorem{example}{\heiti \hspace*{2em}例}[section]


\def\proof{ {\heiti 证明\hskip 1.5em}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{corollary}{\heiti \hspace*{2em}推论}
\newtheorem{property}{\heiti \hspace*{2em}性质}

\newcommand{\Analysis}{\textbf{分析:}~}
\newcommand{\RightSolution}{\textbf{正解:}~}
\newcommand{\ErrorSolution}{\textbf{错解:}~}





